package com.haierp.model.purchase;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

/**
 * 采购入库单明细
 * @author 朱路
 *
 */
public class PurchaseStorageDetail implements Serializable{

	/** 主键id */
	@TableId(type = IdType.AUTO)
	private Long id;
	@TableField(value = "sku_id")
	private Long skuId;
	@TableField(value = "sku_code")
	private String skuCode;
	private int quantity;
	@TableField(value = "trans_quantity")
	private int transQuantity;//在途数量
	private Double price;//单价
	@TableField(value = "total_price")
	private Double totalPrice	;//总价
	@TableField(value = "warehouse_id")
	private Long warehouseId;
	@TableField(value = "warehouse_name")
	private String warehouseName;
	private String upc;
	@TableField(value = "shelf_no")
	private String shelfNo;//货架号
	
	@TableField(value = "sto_order_no")
	private String stoOrderNo;
	
	@TableField(value = "storage_id")
	private Long storageId;
	
	@TableField(value = "item_id")
	private Long itemId;
	
	@TableField(value = "gmt_create")
	private Date gmtCreate;
	@TableField(value = "gmt_modify")
	private Date gmtModify;
	@TableField(value = "task_daily_detail_id")
	private Long taskDailyDetailId;
	@TableField(exist = false)
	private String color;
	@TableField(exist = false)
	private String scale;
	@TableField(exist = false)
	private String skuPic;  
	@TableField(exist = false)
	private String itemName;
	@TableField(exist = false)
	private Integer taskDailyCount;
	@TableField(exist = false)
	private Integer inCount;
	@TableField(exist = false)
	private String buySite;
	
	@TableField(exist = false)//扫码通过理由
	private String passReason ;
	
	@TableField(exist = false)//扫码之后upc
	private String purchaseUpc;
	
	@TableField(value = "sku_buysite")//订购站点
	private String skuBuysite;
	
	@TableField(exist = false)
	private Double purchasePrice; //采购价格
	
	@TableField(exist = false) // 原价
	private Double costPrice;
	
	@TableField(exist = false) // 折扣率
	private Double discount;
	
	@TableField(value = "company_id") //所属公司
	private Long companyId;
	
	
	@TableField(exist = false)
	private int spiltNumber;//在途数量
	
	@TableField(value = "online_quantity") //真实网购数量
	private int onlineQuantity;
	
	
	@TableField(value = "user_create")
	private String userCreate;
	
	
	@TableField(value = "online_number") // 网购单号
	private String onlineNumber;
	
	@TableField(value = "inventory_area_id") //库存流水记录
	private Long inventoryAreaId;
	
	public String getUserCreate() {
		return userCreate;
	}
	public void setUserCreate(String userCreate) {
		this.userCreate = userCreate;
	}
	public String getUserModify() {
		return userModify;
	}
	public void setUserModify(String userModify) {
		this.userModify = userModify;
	}
	@TableField(value = "user_modify")
	private String userModify;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getSkuId() {
		return skuId;
	}
	public void setSkuId(Long skuId) {
		this.skuId = skuId;
	}
	public String getSkuCode() {
		return skuCode;
	}
	public void setSkuCode(String skuCode) {
		this.skuCode = skuCode;
	}

	public int getQuantity() {
		return quantity;
	}
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
	public int getTransQuantity() {
		return transQuantity;
	}
	public void setTransQuantity(int transQuantity) {
		this.transQuantity = transQuantity;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public Double getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(Double totalPrice) {
		this.totalPrice = totalPrice;
	}
	public Long getWarehouseId() {
		return warehouseId;
	}
	public void setWarehouseId(Long warehouseId) {
		this.warehouseId = warehouseId;
	}
	public String getUpc() {
		return upc;
	}
	public void setUpc(String upc) {
		this.upc = upc;
	}
	public String getWarehouseName() {
		return warehouseName;
	}
	public void setWarehouseName(String warehouseName) {
		this.warehouseName = warehouseName;
	}
	public String getShelfNo() {
		return shelfNo;
	}
	public void setShelfNo(String shelfNo) {
		this.shelfNo = shelfNo;
	}
	public String getStoOrderNo() {
		return stoOrderNo;
	}
	public void setStoOrderNo(String stoOrderNo) {
		this.stoOrderNo = stoOrderNo;
	}
	public Long getStorageId() {
		return storageId;
	}
	public void setStorageId(Long storageId) {
		this.storageId = storageId;
	}
	public Long getItemId() {
		return itemId;
	}
	public void setItemId(Long itemId) {
		this.itemId = itemId;
	}
	public Date getGmtCreate() {
		return gmtCreate;
	}
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	public Date getGmtModify() {
		return gmtModify;
	}
	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}
	public Long getTaskDailyDetailId() {
		return taskDailyDetailId;
	}
	public void setTaskDailyDetailId(Long taskDailyDetailId) {
		this.taskDailyDetailId = taskDailyDetailId;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public String getScale() {
		return scale;
	}
	public void setScale(String scale) {
		this.scale = scale;
	}
	public String getSkuPic() {
		return skuPic;
	}
	public void setSkuPic(String skuPic) {
		this.skuPic = skuPic;
	}
	public String getItemName() {
		return itemName;
	}
	public void setItemName(String itemName) {
		this.itemName = itemName;
	}
	public Integer getTaskDailyCount() {
		return taskDailyCount;
	}
	public void setTaskDailyCount(Integer taskDailyCount) {
		this.taskDailyCount = taskDailyCount;
	}
	public Integer getInCount() {
		return inCount;
	}
	public void setInCount(Integer inCount) {
		this.inCount = inCount;
	}
	public String getBuySite() {
		return buySite;
	}
	public void setBuySite(String buySite) {
		this.buySite = buySite;
	}
	public String getPassReason() {
		return passReason;
	}
	public void setPassReason(String passReason) {
		this.passReason = passReason;
	}
	public String getPurchaseUpc() {
		return purchaseUpc;
	}
	public void setPurchaseUpc(String purchaseUpc) {
		this.purchaseUpc = purchaseUpc;
	}
	public String getSkuBuysite() {
		return skuBuysite;
	}
	public void setSkuBuysite(String skuBuysite) {
		this.skuBuysite = skuBuysite;
	}
	public Double getPurchasePrice() {
		return purchasePrice;
	}
	public void setPurchasePrice(Double purchasePrice) {
		this.purchasePrice = purchasePrice;
	}
	public Double getCostPrice() {
		return costPrice;
	}
	public void setCostPrice(Double costPrice) {
		this.costPrice = costPrice;
	}
	public Double getDiscount() {
		return discount;
	}
	public void setDiscount(Double discount) {
		this.discount = discount;
	}
	public Long getCompanyId() {
		return companyId;
	}
	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}
	public int getSpiltNumber() {
		return spiltNumber;
	}
	public void setSpiltNumber(int spiltNumber) {
		this.spiltNumber = spiltNumber;
	}
	public int getOnlineQuantity() {
		return onlineQuantity;
	}
	public void setOnlineQuantity(int onlineQuantity) {
		this.onlineQuantity = onlineQuantity;
	}
	public String getOnlineNumber() {
		return onlineNumber;
	}
	public void setOnlineNumber(String onlineNumber) {
		this.onlineNumber = onlineNumber;
	}
	public Long getInventoryAreaId() {
		return inventoryAreaId;
	}
	public void setInventoryAreaId(Long inventoryAreaId) {
		this.inventoryAreaId = inventoryAreaId;
	}
	
}
